<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>
		
			<script src="${contextPath}/resource/js/prototype-1.6.0.2.js"></script>
	</head>
	<body >
	   <s:form action="codeAction_save.do" method="post" namespace="/maintain">
			<table class="menu_table">
				<tr>
					<th>
						<a href="codeAction_list.do?classCd=${classCd}">下拉列表管理</a>&gt;&gt;新增下拉列表值
					</th>
				</tr>
			</table>
		<div class="listtable">
<div class="secondDiv">
			<table class="form_table">
				<tr>
					<th width="22%">分类代码
					<s:hidden name="code.classCd" value="%{classCd}" />
					</th>
					<td width="78%">${classCd}</td>
				</tr>

				<tr>
					<th>参数代码</th>
					<td><s:textfield name="code.codeCd" id="code.codeCd" size="10" maxlength="3" /></td>
				</tr>
				<tr>
					<th>参数名称</th>
					<td><s:textfield name="code.codeName" id="code.codeName" size="30" maxlength="100" /></td>
				</tr>
				<tr>
					<th>排序序号</th>
					<td><s:textfield name="code.sortNum" id="code.sortNum" size="10" maxlength="11" /></td>
				</tr>
				<tr>
					<th>是否有效</th>
					<td><s:select name="code.validFlag" list="#{'1':'是','0':'否'}"></s:select></td>
				</tr>
				<tr>
					<th>描述</th>
					<td><s:textarea name="code.description" id="code.description" rows="3" cols="60"/></td>
				</tr>
			</table>
		<table width="80%" border="0" align="center" cellpadding="3" cellspacing="1">
			<s:token></s:token>
		    <tr>
		      <td align="center"  >
		      <div align="center">
		      	<input type="submit" value="" class="apply_style" align="middle" />
		        <input type="button" onclick="javascript:location='codeAction_list.do?classCd=${classCd}'" class="back_style"  />
		        <input type="reset" id="重置 " class="reset_style" value=""/>
		        </div>
		        </td>
		    </tr>
		</table>
		</div>
		</div>
		</s:form>
	</body>
</html>